package com.game.business.domain;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.game.common.core.domain.BaseEntity;
import com.game.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 等级对象 t_level
 *
 * @author ruoyi
 * @date 2025-10-21
 */
@Data
@TableName(value = "t_level")
@EqualsAndHashCode(callSuper = true)
public class TLevel extends BaseEntity{
private static final long serialVersionUID = 1L;

/** $column.columnComment */
@TableId(type = IdType.ASSIGN_ID)
private String id;
/** "最小值" */
@Excel(name = "最小值")
private BigDecimal minMoney;
/** "最大值" */
@Excel(name = "最大值")
private BigDecimal maxMoney;
/** "等级" */
@Excel(name = "等级")
private Long level;

 /** "消耗的君子币" */
 @TableField(exist = false)
 private  BigDecimal  totalXhMoney;


 /** "是否是当前等级" */
 @TableField(exist = false)
private  Boolean  isCurrentLevel;

 /** "距离下一个等级还差多少" */
 @Excel(name = "距离下一个等级还差多少")
 @TableField(exist = false)
 private BigDecimal amountToNextLevel;





 }
